package com.zzt.book.adapter;

/**
 * Created with IntelliJ IDEA.
 * Description
 * User: panda
 * Date: 2025-03-28
 * Time: 16:26
 */
public class LogbackSlf4jAdapter implements Slf4jApi{
    private Logback logback;

    public LogbackSlf4jAdapter(Logback logback) {
        this.logback = logback;
    }

    @Override
    public void log(String log) {
        logback.print("LogbackSlf4jAdapter: " + log);
    }
}
